\documentclass{article}

\usepackage{agda}
\AgdaNoSpaceAroundCode{}

\begin{document}

\hrule
\begin{code}%
\>[0]\AgdaKeyword{postulate}\<%
\\
\>[0]\<%
\\
\>[0][@{}l@{\AgdaIndent{0}}]%
\>[2]\AgdaPostulate{A}\AgdaSpace{}%
\AgdaSymbol{:}\AgdaSpace{}%
\AgdaPrimitiveType{Set}\<%
\\
%
\>[2]\AgdaPostulate{B}\AgdaSpace{}%
\AgdaSymbol{:}\AgdaSpace{}%
\AgdaPrimitiveType{Set}\<%
\end{code}
\hrule
\begin{code}%
\>[0]\<%
\\
\>[0]\<%
\end{code}
\hrule
\begin{code}%
\>[0]\<%
\\
\>[0]\<%
\end{code}
\hrule
\begin{code}%
\>[0]\<%
\end{code}
\hrule
\begin{code}  %
\>[0]\<%
\end{code}
\hrule
  \begin{code}  %
\>[0]\<%
\end{code}
\hrule
  \begin{code}  %
\>[0]\<%
\end{code}
\hrule
\begin{code}%
\>[0]\AgdaKeyword{module}\AgdaSpace{}%
\AgdaModule{\AgdaUnderscore{}}\AgdaSpace{}%
\AgdaKeyword{where}\<%
\end{code}
\begin{code}%
\>[0]\<%
\\
\>[0][@{}l@{\AgdaIndent{1}}]%
\>[2]\AgdaKeyword{postulate}\<%
\\
\>[2][@{}l@{\AgdaIndent{0}}]%
\>[4]\AgdaPostulate{C}\AgdaSpace{}%
\AgdaSymbol{:}\AgdaSpace{}%
\AgdaPrimitiveType{Set}\<%
\end{code}
\hrule
\begin{AgdaAlign}
\begin{code}%
\>[0]\AgdaKeyword{postulate}\<%
\\
\>[0][@{}l@{\AgdaIndent{0}}]%
\>[2]\AgdaPostulate{F}%
\>[5]\AgdaSymbol{:}\AgdaSpace{}%
\AgdaPrimitiveType{Set}\AgdaSpace{}%
\AgdaSymbol{→}\AgdaSpace{}%
\AgdaPrimitiveType{Set}\<%
\\
%
\>[2]\AgdaPostulate{X}%
\>[5]\AgdaSymbol{:}%
\>[11I]\AgdaPostulate{F}\<%
\end{code}
\begin{code}%
\>[11I][@{}l@{\AgdaIndent{1}}]%
\>[10]\AgdaPostulate{A}\<%
\end{code}
\end{AgdaAlign}
\hrule

\end{document}
